//
//  BDPostCommentModel.m
//  BadBoy
//
//  Created by wen on 2017/9/6.
//  Copyright © 2017年 com.8xiong. All rights reserved.
//

#import "BDPostCommentModel.h"

@implementation BDPostCommentModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"my_id":@"id",
             @"sub_comments":@"sub_comments.list"};
}

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"sub_comments" : [BDPostCommentModel class]};
}

//- (BOOL)modelCustomTransformFromDictionary:(NSDictionary *)dic {
//    if (![dic[@"user"] isKindOfClass:[NSNull class]]) {
//        self.user = [BDUserModel mj_objectWithKeyValues:dic[@"user"]];
//    }
//    if (![dic[@"reply_user"] isKindOfClass:[NSNull class]]) {
//        self.reply_user = [BDUserModel mj_objectWithKeyValues:dic[@"reply_user"]];
//    }
//    return YES;
//}

@end
